﻿using SMECustomerWebsite.Core.Resources;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SMECustomerWebsite.Models.ViewModels.Account
{
    public class LoginViewModel : GenerateViewMode, IViewModel
    {
        [Required(ErrorMessage = "User name is required.")]
        [Display(Name = "Username", ResourceType = typeof(Resource))]
        public string UserName { get; set; }

        [Required(ErrorMessage = "Password is required.")]
        [Display(Name = "Password", ResourceType = typeof(Resource))]
        public string Password { get; set; }

        [Display(Name = "Remember me:")]
        public bool IsRemember { get; set; }
    }
}
